using System.Collections;


/// <summary>
/// 
/// </summary>
public class UnitCoroutineDetail
{
    /// <summary>
    /// 标识符
    /// </summary>
    public string Name { get; private set; }

    /// <summary>
    /// 协程项
    /// </summary>
    public IEnumerator IEnumerator { get; private set; }


    /// <summary>
    /// 
    /// </summary>
    public State State;


    public UnitCoroutineDetail(string name, IEnumerator @IEnumerator)
    {
        this.Name = name; this.IEnumerator = @IEnumerator;
    }
}
